package com.itheima.mapper;

import com.itheima.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

public interface RoleMapper {
    //根据用户id查询用户的角色
    Set<Role> findRolesByUserId(@Param("uid") Integer uid);
}
